package com.deli.core.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.deli.core.dao.ColorDAO;
import com.deli.core.pojo.Color;
import com.github.abel533.entity.Example;

/**
 * 品牌服务类
 * 
 * @author Administrator
 *
 */
@Service("colorService")
@Transactional
public class ColorServiceImpl implements ColorService {

	@Autowired
	private ColorDAO colorDAO;

	@Override
	public Color findColorById(Long colorId) {
		return colorDAO.selectByPrimaryKey(colorId);
	}



}
